/**
 * NearShop
 * AreaListAction.java
 * com.android.nearshop.io.protocol.in
 * 
 */
package com.android.nearshop.io.protocol.in;

import com.android.nearshop.io.protocol.out.AreaList;

import android.util.Log;

/*********************************************************
 * @author : zhaohua
 * @version : 2012-8-11
 * @see : 获得镇区列表。商家搜索时进行镇区筛选。
 * @Copyright : copyrights reserved by personal 2007-2012
 **********************************************************/
public class AreaListAction extends SoapAction<AreaList>
{

    /**
     * 获得镇区列表
     */
    public AreaListAction()
    {
        super(ACTION_TYPE.ACTION_COMMON,"areaList");
    }
    
    /* (non-Javadoc)
     * @see com.android.nearshop.io.protocol.in.SoapAction#parseJson(java.lang.String)
     */
    @Override
    protected AreaList parseJson(String response) throws Exception
    {
        Log.d(getMethod(), getMethod() + "response: \n " + response);
        AreaList res = new AreaList();
        res.parseData(response);
        return res;
    }

}
